package creational.factoryMethod;

public class Test {
	public static void main(String[] s){
		ChildFactory childFactory=null;
		Child child=null;
		
		childFactory=new GirlFactory();
		child=childFactory.createChild();
		child.xuxu();
		
		childFactory=new BoyFactory();
		child=childFactory.createChild();
		child.xuxu();
	}
}
